<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body
        {
            background-color: aqua;
        }
        div
        {
            /* background-image:url(../HTML/img/萧炎.jpg) ; */
            background-image: url(../HTML/img/星星.png);
            background-repeat: no-repeat; 
            /* background-repeat: repeat-x; */
            /* background-repeat: repeat-y; */
            /* background-position:200px center; */
            background-position:left;
            width : 700px ;
            height : 300px;
            /* background-size: 700px 300px; */
            background-size: cover;
            /* background-size: contain; */



        }
    </style>
</head>
<body>
    <div>
        学习背景属性
        background-color
        <br>
        background-image
        <br>
        background-repeat  背景平铺方式(默认x/y平铺)
        <br>
        background-position 背景大小
        <br>
    </div>

</body>
</html>